package com.example.certificate.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author Hao
 * @date 2022年01月12日 10:24
 */
@ApiModel(value = "级联返回卡片数据")
@Data
public class CascadeCardVo {

    @ApiModelProperty(value = "指定级联映射值")
    private String value;

    @ApiModelProperty(value = "级联映射描述")
    private String label;

    @ApiModelProperty(value = "上级类型")
    private String parentId;

    @ApiModelProperty(value = "子类数据存储")
    private List<CascadeCardVo> children;

    @ApiModelProperty(value = "排序字段")
    private Integer sort;
}
